<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" errorPage="DBError.jsp"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page import="com.carebuddy.petcare.biz.*"%>
<%@ page import="com.carebuddy.petcare.controller.*"%>
<%
	Carebuddy carebuddy = new Carebuddy();
	UserController userController = carebuddy.getUserController();
	userController.isDuplicateUser(request, response);
%>    
 
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ID 중복확인</title>
</head>
<script language="javascript">
  function init() {//버그 원인 불명
	  if('${flag}'=='1'){
		  alert('${isOK}');
		  window.close();
	  }else if ('${flag}'=='2'){
		  alert('${isOK}');
		  window.close();
	  }
  }
</script>
<body onload="init();">
</body>
</html>